.animation {
    transition: all 0.3s;
}
/* fade */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* fade-right */
.fade-right-enter-active,
.fade-right-leave-active {
    transition: all 0.5s;
}
.fade-right-enter-from {
    opacity: 0;
    transform: translateX(-20px);
}
.fade-right-leave-to {
    opacity: 0;
    transform: translateX(20px);
}

/* fade-top */
.fade-top-enter-active,
.fade-top-leave-active {
    transition: all 0.5s ease;
}
.fade-top-enter-from {
    opacity: 0;
    transform: translateY(-20px);
}
.fade-top-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* fade-bottom */
.fade-bottom-enter-active,
.fade-bottom-leave-active {
    transition: all 0.5s ease;
}
.fade-bottom-enter-from {
    opacity: 0;
    transform: translateY(20px);
}
.fade-bottom-leave-to {
    opacity: 0;
    transform: translateY(-20px);
}
